﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="EditBoard.aspx.cs" Inherits="TourAgency.Admin.Modify.EditBoard" %>
<asp:Content ID="HeaderContent" ContentPlaceHolderID="HeadContent" runat="server">
<style type="text/css">
        .style1
        {
            width: 40%;
            margin-right: 0px;
        }
        .style2
        {
            width: 117px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
 <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    Edit this board:<br />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="buttonAddBoard" EventName="Click" />
        </Triggers>
        <ContentTemplate>
            <table class="style1">
                <tr>
                    <td class="style2">
                        Board name
                    </td>
                    <td>
                        <asp:TextBox ID="textBoxName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="textBoxName"
                            runat="server" ErrorMessage="Name is required" Text="*" Display="Dynamic" CssClass="failureNotification"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        &nbsp;
                    </td>
                    <td>
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="failureNotification" />
                        <asp:Button ID="buttonAddBoard" runat="server" Text="Save" OnClick="buttonSaveBoard_Click" />
                    </td>
                </tr>
            </table>
            &nbsp;
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
